<template>
	<view>

		<!-- <view class="title">预约成功</view> -->
		<view class="top">
			<view>
				<navigator url="/pages/yonghu1/order/order">
					<image class="back" src="/static/images/白色左箭头.png" mode=""></image>
				</navigator>
				<view class="title">
					订单支付
				</view>
			</view>
		</view>

		<view style="margin-top: -120px;">
			<uni-card>
				<view>
					<view class="yuView">
						<view class="yuItem">
							<!-- 图标 -->
							<view class="imgView">
								<image src="../../../static/images/对 拷贝@2x.png" mode=""></image>
							</view>
							<view>支付成功</view>
						</view>

						<view>预约编号：{{orderNum}}</view>

					</view>

					<view style="text-align: center;">
						<navigator url="/pages/index/index" open-type="switchTab">
							<view style="margin-top: 20px; border-radius: 20px; line-height: 40px; width: 300px;height: 40px;background-color: #0D65E8; color: white;">
								返回首页
							</view>
						</navigator>
						<navigator :url="'/pages/yonghu1/dingdanxiangqing/dingdanxiangqing?orderNum=' + orderNum">
							<view style="margin-bottom: 20px; margin-top: 20px; border-radius: 20px; line-height: 40px; width: 300px;height: 40px;background-color: #BFBFBF; color: white;">
								订单详情
							</view>
						</navigator>
					</view>

				</view>

			</uni-card>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				orderNum: ''
			}
		},
		onLoad(options) {
			if (options.orderNum) {
				this.orderNum = options.orderNum;
			}
		},
		methods: {

		}
	}
</script>

<style scoped>
	.top {
		width: 100%;
		padding-bottom: 120px;
		background: url(../../../static/images/组 8.png);
		background-repeat: no-repeat;
		background-size: cover;
	}

	.top .back {
		position: absolute;
		margin-left: 20px;
		margin-top: 30px;
		width: 15px;
		height: 15px;
		z-index: 2;
	}

	.top .title {
		text-align: center;
		font-size: 18px;
		color: #fff;
		line-height: 44px;
		/* 根据实际需要调整 */
		padding-top: 20px;
	}

	/* 背景图片 */
	/* 	.custom-nav {
		width: 100%;
		padding-bottom: 40px;
		background: url(../../static/images/图层 1.png);
		background-repeat: no-repeat;
		background-size: cover;
	} */



	.imgView>image {
		width: 150rpx;
		height: 150rpx;
	}

	/* 预约成功 */
	.yuView {
		height: 400rpx;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		/* align-content: space-around; */
		align-items: center;
	}

	.yuView>view:nth-child(2) {
		font-size: 30rpx;
		font-weight: bold;
	}

	.yuItem {
		width: 300rpx;
		height: 300rpx;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-content: center;
	}

	.yuItem>view:nth-child(2) {
		font-size: 40rpx;
		font-weight: bold;
		padding-top: 20rpx;
	}

	/* 返回首页 */
	.fhIndex {
		height: 240rpx;
		margin: 40rpx 0rpx;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-content: space-around;

	}
</style>